package com.example.onlinemonitoring.model.common;

public class CommPort {
    public String getCommPortName() {
        return commPortName;
    }
    public void setCommPortName(String commPortName) {
        this.commPortName = commPortName;
    }
    public String getOwnerName() {
        return ownerName;
    }
    public void setOwnerName(String ownerName) {
        this.ownerName = ownerName;
    }
    public String getBaudRate() {
        return baudRate;
    }
    public void setBaudRate(String baudRate) {
        this.baudRate = baudRate;
    }
    public String getDataBit() {
        return dataBit;
    }
    public void setDataBit(String dataBit) {
        this.dataBit = dataBit;
    }
    public String getPartityBit() {
        return partityBit;
    }
    public void setPartityBit(String partityBit) {
        this.partityBit = partityBit;
    }
    public String getStopBit() {
        return stopBit;
    }
    public void setStopBit(String stopBit) {
        this.stopBit = stopBit;
    }
    public CommPort(String commPortName, String ownerName, String baudRate, String dataBit, String partityBit,
            String stopBit) {
        this.commPortName = commPortName;
        this.ownerName = ownerName;
        this.baudRate = baudRate;
        this.dataBit = dataBit;
        this.partityBit = partityBit;
        this.stopBit = stopBit;
    }
    private String commPortName="";
    private String ownerName;
    private String baudRate=""; 
    private String dataBit="";
    private String partityBit="";
    private String stopBit="";
}